import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    redirect: '/bigScreenHome' // 添加根路径重定向
  },
  {
    path: '/bigScreenHome',
    name: 'bigScreenHome',
    component: () => import('@/views/BigScreenHome.vue')
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router